package com.piggy.logi.sys.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import com.baomidou.mybatisplus.annotation.*;
import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;



/**
 * 调度车次日志对象 logi_schedule_log
 *
 * @author piggy
 * @date 2023-12-07
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("logi_schedule_log")
public class LogiScheduleLog implements Serializable {

    private static final long serialVersionUID=1L;

    /** 运单增值服务id */
    @ApiModelProperty("运单增值服务id")
    @TableId(value = "id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /** 部门id */
    @ApiModelProperty("部门id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long deptId;

    /** 调度车次ID */
    @ApiModelProperty("调度车次ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long scheduleId;

    /** 调度车次号 */
    @ApiModelProperty("调度车次号")
    private String scheduleNo;

    /** 车次运行节点状态 */
    @ApiModelProperty("车次运行节点状态")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Integer scheduleStatus;

    /** 时间节点 */
    @ApiModelProperty("时间节点")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date timeLoad;

    /** 日志事件 */
    @ApiModelProperty("日志事件")
    private String logMsg;

    /** 操作人 */
    @ApiModelProperty("操作人")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long operator;

    /** 操作人手机号码 */
    @ApiModelProperty("操作人手机号码")
    private String operatePhone;

    /** 添加时间 */
    @ApiModelProperty("添加时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新时间 */
    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
